package com.example.navigation

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_agreement.*

/**
 * @author Liyg
 * @description:
 * @date :2020/11/19
 */
class AgreementActivity:AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_agreement)
        //设置背景颜色为透明
        window.setBackgroundDrawableResource(R.color.transparent)
        val userName = intent.getStringExtra("userName")
        agreeUserNameEt.setText(userName)
    }
}